﻿using Authentication.Core.Configuration;
using Authentication.Model.Model;
using Common.Data.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Core.Data.DBConfig
{
    public class GroupConfiguration : DBConfig<ApplicationGroup>
    {
        public GroupConfiguration()
            : base(SystemConfiguration.Schema, SystemConfiguration.NamingType, SystemConfiguration.TABLE_PREFIX)
        {
            HasKey(k => new { k.GroupId });
        }
    }
}
